.class Lcom/waiqin365/lightwork/tracker/g;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightwork/tracker/d;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/g;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 8

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/g;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    iput-wide v2, v0, Lcom/waiqin365/lightwork/tracker/d;->g:J

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/g;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/g;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v1}, Lcom/waiqin365/lightwork/tracker/d;->c(Lcom/waiqin365/lightwork/tracker/d;)V

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "qdate"

    new-instance v3, Ljava/text/SimpleDateFormat;

    const-string/jumbo v4, "yyyy-MM-dd"

    sget-object v5, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-direct {v3, v4, v5}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v4, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-direct {v4, v6, v7}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v3, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/b/c;

    invoke-direct {v1, v0}, Lcom/waiqin365/lightwork/tracker/b/c;-><init>(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/b/i;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/g;->a:Lcom/waiqin365/lightwork/tracker/d;

    invoke-static {v2}, Lcom/waiqin365/lightwork/tracker/d;->d(Lcom/waiqin365/lightwork/tracker/d;)Landroid/os/Handler;

    move-result-object v2

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightwork/tracker/b/i;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/b/j;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/i;->start()V

    return-void
.end method
